package com.hao.service;

import java.util.List;

import com.hao.exception.HaoException;
import com.hao.pojo.Hobby;

public interface IHobbyService {

	List<Hobby> queryAllHobby(int userId, Integer pageNo, Integer pageSize);
	
	int queryRowTotal();
	
	void deleteHobby(int pid) throws HaoException;
}
